str=" 2额21如2 345融入4 534台3643 34 534 534 543 "
print (str.replace(" ",""))#全去
print (str.strip())#只有开头结尾
